6c1958a71f42cc90a56630b40250070524d6cad1,src/main/java/org/graylog/plugins/threatintel/whois/ip/WhoisIpLookup.java,WhoisIpLookup,run,#InternetRegistry#String#,35
Before Change
// Build result.
HashMap<String, Object> result = Maps.newHashMap();
result.put("whois_organization", parser.getOrganization());
result.put("whois_country_code", parser.getCountryCode());
return new WhoisIpLookupResult(result);
} catch (IOException e) {
After Change
return run(parser.getRegistryRedirect(), ip);
}
return new WhoisIpLookupResult(parser.getOrganization(), parser.getCountryCode());
} catch (IOException e) {
LOG.error("Could not lookup WHOIS information for [{}] at [{}].", ip, registry.toString());
throw e;